/**
 * 
 */
package com.autosalon.ui.banka.action;

import com.autosalon.ui.banka.Banka;
import com.autosalon.ui.banka.state.BankaStateHolder;
import com.vaadin.ui.Button.ClickEvent;

/**
 * @author Ragisel
 *
 */
public class NewBankAction extends AbstractBankAction {

	private final int id = 3;
	
	public NewBankAction(Banka banka) {
		super(banka);
	}

	@Override
	public void buttonClick(ClickEvent event) {

		BankaStateHolder.setState(BankaStateHolder.NEW_BANKA_STATE,id, super.banka);
	}

}
